package org.example.coffeeshoporderingsystem.common.dao;

import org.example.coffeeshoporderingsystem.common.enitty.BaseEntity;

import java.util.List;

public abstract interface BaseDAO<T extends BaseEntity> {
    List<T> selectAll() ;

    boolean insert(T entity) ;

    boolean delete(Integer id);

    T selectById(Integer id) ;

    boolean update(T entity);
}
